package com.sp.scmdb.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sp.scmdb.bean.SecurityCommentedBean;
import com.sp.scmdb.dao.SecurityCommentedDao;
import com.sp.scmdb.service.SecurityCommentedService;

@Service("securityCommentedService")
public class SecurityCommentedServiceImpl implements SecurityCommentedService {

	private SecurityCommentedDao commentedDao;
	
	@Autowired
	public void setCommentedDao(SecurityCommentedDao commentedDao) {
		this.commentedDao = commentedDao;
	}


	@Override
	public List<SecurityCommentedBean> getResultList(String beginDate, String endDate) {
		return commentedDao.getResultList(beginDate, endDate);
	}

}
